#!/user/bin/env node
const fs = require('fs');
const file = process.argv[2];

fs.readFile(file,'utf8',(err,data)=>{
  if (err){
    console.error(err.message);
  }
  const lines = data.split('\n');
  for (const i=0 ; i<lines.length ; i++){
    console.log(`${i+1}\y${lines[i]}`);
  }
});
console.log("Hello World");
